|
SET SOUND PAN
This command will set the pan of standard sounds by locating it between the left and right speakers.
SET SOUND PAN Sound Number,Pan Value
Sound Number
Integer
The sound number
Pan Value
Integer
Thea positive value will move it to the right. Sound panning does not work with 3D sounds. The pan value must be an integer value between -10,000 and 10,000
This command does not return a value.
A negative value will move the sound to the left speaker, a positive value will move it to the right. Sound panning does not work with 3D sounds. The pan value must be an integer value between -10,000 and 10,000.
cls
load sound "man.wav",1
play sound 1
wait 1000*8
set sound pan 1,10000
wait 1000*8
set sound pan 1,0
wait 1000*8
set sound pan 1,-10000
wait 1000*8
stop sound 1
do
loop
end
SOUND Commands Menu
Index
|